Skip to main content

TF2DPointList

Unit:sgLists

Description

TF2DPointList stores an array of two-dimensional points.

Syntax

type TF2DPointList = class(TsgBaseList, IsgCollectionF2DPoint, IsgArrayFPoint)

Properties

PropertiesDescription
FirstThe property indicates the first item in the list.
ItemsThe property lists the object references.
LastThe property indicates the last item in the list.
ListThe property indicates the last item in the list.
Properties derived from TsgBaseListDescription
CapacityThe property specifies the allocated size of the array of pointers maintained by the TsgBaseList object.
CountThe property indicates the number of entries in the list that are in use.
DublicatesThe property specifies how to handle items with same values.
ListTypeThe property specifies the type of elements maintained by the list.
ProcCompareThe property specifies the procedure used to compare items in the list.
SortedThe property indicates whether the items are sorted or not.

Methods

MethodsDescription
AddThe method inserts a new item at the end of the list.
AppendArrayThe method appends a specified list to this list.
AssignArrayThe methods copies an array of single-precision floating point numbers to this list.
IndexOfThe method returns the index of the first entry in the Items array with a specified value.
InsertThe method adds an object to the Items array at the position specified by Index.
Methods derived from TsgBaseListDescription
AppendDynArrayThe method appends a dynamic array to the list.
AssignThe method copies elements of another list to this one.
ClearThe method deletes all items from the list.
CopyFromThe method copies data from a specified list to this list.
CopyToThe method copies data from this list to a specified list.
CreateThe method creates a new list and initializes its data.
DeleteThe method removes the item(s) at a specific position from the list.
DestroyThe method destroys an instance of TsgBaseList.
FillCharThe method is for internal use.
FlipThe method performs mirrored rearrangement of the items.
HighThe method returns the index of last item in the list.
IsEqualThe method checks whether this list and a specified list are equal.
IsItemsUniqueThe method checks whether the Items array contains unique data set.
SortThe method performs a sort on the list.
SwapItemsThe method swaps two items in the list.